package com.jfast.framework.aop;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class JfastInvocationHandler implements InvocationHandler{

	private Object target;
	
	public JfastInvocationHandler(Object target){
		this.target = target;
	}
	
	public Object getTarget() {
		return target;
	}

	@Override
	public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
		return method.invoke(target, args);
	}

}
